/***************************************************************
 * Name:      ChemistryTestMain.h
 * Purpose:   Defines Application Frame
 * Author:    xuzl (smartbirdxzl@hotmail.com)
 * Created:   2010-02-26
 * Copyright: xuzl (www.cnblogs.com/xuzhenling)
 * License:
 **************************************************************/

#ifndef CHEMISTRYTESTMAIN_H
#define CHEMISTRYTESTMAIN_H

//(*Headers(ChemistryTestFrame)
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/menu.h>
#include <wx/textctrl.h>
#include <wx/toolbar.h>
#include <wx/panel.h>
#include <wx/button.h>
#include <wx/frame.h>
#include <wx/statusbr.h>
//*)
#include "CommonUtils.h"

int DBExecCallBack(void *Data, int ColCount, char **ColValues, char **ColHeaders);

class ChemistryTestFrame: public wxFrame
{
    public:

        ChemistryTestFrame(wxWindow* parent,wxWindowID id = -1);
        virtual ~ChemistryTestFrame();

    private:


        //(*Handlers(ChemistryTestFrame)
        void OnQuit(wxCommandEvent& event);
        void OnAbout(wxCommandEvent& event);
        void OnButtonOKClick(wxCommandEvent& event);
        void OnTBIAddQuestionClicked(wxCommandEvent& event);
        void OnCreateDataBaseSelected(wxCommandEvent& event);
        //*)

        //(*Identifiers(ChemistryTestFrame)
        static const long ID_STATICTEXT1;
        static const long ID_STATICTEXT2;
        static const long ID_TEXTCTRL1;
        static const long ID_BUTTON1;
        static const long ID_STATICTEXT3;
        static const long ID_TEXTCTRL2;
        static const long ID_STATICTEXT4;
        static const long ID_PANEL1;
        static const long idMenuQuit;
        static const long ID_MENUITEM1;
        static const long ID_MENUITEM2;
        static const long ID_MENUITEM3;
        static const long ID_MENUITEM4;
        static const long idMenuAbout;
        static const long ID_STATUSBAR1;
        static const long ID_TOOLBARITEM1;
        static const long ID_TBI_AddQuestion;
        static const long ID_TOOLBARITEM3;
        static const long ID_TOOLBAR1;
        //*)

        //(*Declarations(ChemistryTestFrame)
        wxToolBar* ToolBar1;
        wxToolBarToolBase* ToolBarItem3;
        wxToolBarToolBase* TBIAddQuestion;
        wxMenuItem* MenuItem5;
        wxStaticText* StaticText2;
        wxMenu* Menu3;
        wxButton* Button1;
        wxMenuItem* MenuItem4;
        wxPanel* Panel1;
        wxStaticText* StaticText1;
        wxStaticText* StaticText3;
        wxToolBarToolBase* ToolBarItem1;
        wxMenuItem* MenuItem3;
        wxStatusBar* StatusBar1;
        wxMenuItem* MenuItem6;
        wxTextCtrl* TextCtrl2;
        wxTextCtrl* TextCtrl1;
        wxStaticText* StaticText4;
        wxMenu* Menu5;
        wxMenu* Menu4;
        //*)

        DECLARE_EVENT_TABLE()
};

#endif // CHEMISTRYTESTMAIN_H
